class MyClass:
    i = 12345
    def f(self):
        return 'Hello World'

x = MyClass()

print(x.i)
print(x.f())